package com.zood.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zood.dao.ResultDao;
import com.zood.domain.result;
import com.zood.service.resultService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class resultServiceImpl extends ServiceImpl<ResultDao, result> implements resultService {
    @Autowired
    private ResultDao result;

    @Override
    public boolean saveResult(result book) {
        return result.insert(book) > 0;
    }
}
